<template>
	<view>
		<view class="content">
			<view class="headers">
				<view class="box">
					<view class="Search">
						<image src="/static/tab/Searching.png" class="IMGSearch"></image>
						<input type="text" class="TextSearch" placeholder="搜搜你想要的宝贝吧" />
					</view>

					<image src="/static/tab/ADD.png" class="Add"></image>

				</view>
				<view class="biaoqian">
					<view class="Scrol">
						<view class="Recomment">
							<image class="IMGRec" src="/static/tab/Recom.png"></image>
							<view class="RecText">推荐</view>
						</view>
						<view class="Recomment">
							<image class="IMGRec" src="/static/tab/Recom.png"></image>
							<view class="RecText">推荐</view>
						</view>
						<view class="Recomment">
							<image class="IMGRec" src="/static/tab/Recom.png"></image>
							<view class="RecText">推荐</view>
						</view>
						<view class="Recomment">
							<image class="IMGRec" src="/static/tab/Recom.png"></image>
							<view class="RecText">推荐</view>
						</view>
						<view class="Recomment">
							<image class="IMGRec" src="/static/tab/Recom.png"></image>
							<view class="RecText">推荐</view>
						</view>
						<view class="Recomment">
							<image class="IMGRec" src="/static/tab/Recom.png"></image>
							<view class="RecText">推荐</view>
						</view>
						<view class="Recomment">
							<image class="IMGRec" src="/static/tab/Recom.png"></image>
							<view class="RecText">推荐</view>
						</view>
					</view>

					<view class="More">
						<image src="/static/tab/More.png" class="IMGmore"></image>
						<view class="TextMore">更多</view>
					</view>
				</view>
			</view>
			<view class="productID">
				<view class="productCard wish-store" v-for="(item, index) in 100">
					<view class="productIMG">
						<image mode="widthFix"
							src="https://images.unsplash.com/photo-1546519638-68e109498ffc?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=80"
							alt="篮球商店" />
					</view>
					<view class="ProPri">¥299.99</view>
				</view>

			</view>
		</view>

		<custom-tabbar></custom-tabbar>
	</view>
</template>

<script>
import CustomTabbar from '@/components/custom-tabbar.vue'
export default {
	components: {
		CustomTabbar
	},
	data() {
		return {

		}
	},
	methods: {

	}
}
</script>

<style scoped>
.headers {
	position: fixed;
	top: 0rpx;
	padding-top: 10upx;
	background: white;
	width: 100%;
	z-index: 99;
}

.ProPri {
	position: absolute;
	bottom: 8px;
	right: 8px;
	background: rgba(0, 0, 0, 0.7);
	color: white;
	padding: 3px 8px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: bold;
}

.productID {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	padding: 15px;
	position: relative;
}

.productCard {
	background: white;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	position: relative;
}

.productIMG img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.productIMG {
	width: 100%;
	background-color: #f8f8f8;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
	font-size: 12px;
	overflow: hidden;
}

.biaoqian {
	top: 190rpx;
	left: 0;
	width: 100%;
	overflow: hidden;
	height: 90upx;
}

.Scrol {
	display: flex;
	width: 80%;
	float: left;
	white-space: nowrap;
	-webkit-overflow-scrolling: touch;
}

.IMGRec {
	width: 50upx;
	height: 50upx;

}

.RecText {
	font-size: 20upx;
	color: #ababad;
	position: relative;
	transform: translateY(-10upx);
}

.Recomment {
	position: relative;
	padding: 0 20rpx;
	display: inline-block;
	white-space: nowrap;

}

.TextMore {
	color: #ababad;
	font-size: 20upx;
}

.IMGmore {
	width: 30upx;
	height: 30upx;
}

.More {
	width: 60upx;
	height: 80upx;
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	float: right;
}

.Add {
	width: 40upx;
	height: 40upx;
	position: relative;
	transform: translateY(20upx);
	margin-left: 40upx;
	float: right;
}

.Bell {
	width: 40upx;
	height: 40upx;
	display: inline-block;
	position: relative;
	transform: translateY(20upx);
}

.TextSearch {
	line-height: 50upx;
	font-size: 25upx;
	color: #ababad;
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}

.IMGSearch {
	width: 30upx;
	height: 30upx;
	float: left;
	font-size: 30rpx;
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	margin-right: 10upx;

}

.Search {
	background: #f5f5f5;
	width: 86%;
	height: 60upx;
	font-size: 30rpx;
	border-radius: 10upx;
	padding-left: 10px;
	display: inline-block;
}

.box {
	width: 100%;
	height: 96upx;
	padding: 0 20rpx;
	box-sizing: border-box;
	margin-top: 12upx;

}

.content {
	padding-top: 200upx;
	padding-bottom: 150rpx;
}

.logo {
	height: 200rpx;
	width: 200rpx;
	margin-top: 200rpx;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 50rpx;
}

.text-area {
	display: flex;
	justify-content: center;
}

.title {
	font-size: 36rpx;
	color: #8f8f94;
}
</style>
